*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}

header{
    width: 100%;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content:center;
    background-color: #fafafc
}

.header-container,.tittle-container,.banner-container,.recommend-container,.phone-container,.help-container{
    width: 1240px;
    
}

.header-nav a{
    float: left;
    color: #666;
    margin-right: 44px;
    font-size: 13px;
}

.header-tools{
    float: right;
}

.header-tools a{
    margin-right: 40px;
    font-size: 13px;
    color: #666;
}

.new-icon{
    display: inline-block;
    height: 13px;
    width: 32px;
    background-image: url('../images/new-icon.png');
    transform: translate(1px,1px);
}

.tittle{
    display: flex;
    align-items: center;
    justify-content:center;
}

.logo{
    width: 244px;
    height: 80px;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: 0,center;
    float: left;
}
.logo-nav {
    height: 80px;
    float: left;
    display: flex;
    align-items: center;
}

.logo-nav a{
    color: #333;
    margin-right: 35px;
}

/* banner区 */
.banner{
    height: 480px;
    background-color: #5d1aff;
    border-top: #efefef 1px solid;
    display: flex;
    justify-content:center;
}
/* banner 图给了宽是1240px的 作为效果展示 先放.banner-container里作为背景 */
.banner-container{
    background-image: url('../images/banner.jpg');
}

.banner-nav{
    width: 244px;
    background-color: #e5dcf9;
    float: left;
}

.banner-nav a{
    display: block;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 14px;
    color: #3a3a3a;
}
/* banner导航项悬停样式 样张只有静态 所以只是自己做的简单效果 */
.banner-nav a:hover{
    color: #fff;
    background-color: #5d1aff;
}

.banner-slider{
    display: inline-block;
    height: 100%;
    width: 996px;
    position: relative;
}

.left-arrow{
    width: 26px;
    height: 14px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%) rotate(-90deg);
    background-image: url('../images/gotop-arrow.png');
}

.right-arrow{
    width: 26px;
    height: 14px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(90deg);
    background-image: url('../images/gotop-arrow.png');
}

.round-group{
    position: absolute;
    bottom:0px;
    left: 50%;
    transform: translate(-50%);
}

.slider-round{
    height: 9px;
    width: 9px;
    display: inline-block;
    border:1px #c0c0c0 solid;
    border-radius: 50%;
    margin: 5px 0px 5px 10px;
}

.slider-round-selected{
    background-color: #00c3f5;
    border-color: #00c3f5;
}

.recommend{
    margin-top: 10px;
    height: 140px;
    display: flex;
    justify-content:center;
}
.recommend-item{
    width: 244px;
    height: 140px;
    display: inline-block;
}

.recommend-service-item{
    width: 122px;
    height: 70px;
    float: left;
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items: center;
    background-color: #f9f9f9;
}
/* 自己想的悬停效果 静态样张不不确定要什么效果 */
.recommend-service-item:hover{
    transform: translate(-2px,-2px);
}

.service-icon{
    width: 24px;
    height: 24px;
    background-size: contain;
    display: block;
}
.service-name{
    margin-top: 5px;
    font-size: 13px;
    color: #333;
}
.mma{
    background-image: url('../images/1450855246-61162.png');
}

.renew{
    background-image: url('../images/1450855279-64872.png');
}

.accident{
    background-image: url('../images/1450855198-58056.png');
}

.query{
    background-image: url('../images/1451960447-93534.png');
}

.band-day{
    background-image: url('../images/1469442560-64371.jpg');
}

.meilan-max{
    background-image: url('../images/Cix_s1fuEgmAc5NwAABEl576SHY123.jpg');
}

.power-supply{
    background-image: url('../images/CnQOjVfhDa2AKtdyAAAtKjihE5E114.jpg');
}

.dash-recorder{
    background-image: url('../images/Cix_s1f66-eAGausAABXAszHWuE990.png');
}


.phone{
    height: 471px;
    background-color: #f5f5f5;
    margin-top: 10px;
    display: flex;
    justify-content:center;
}

.phone-container
{
    position: relative;
}
.phone-tittle{
    font-size: 24px;
    color: #333;
    position: absolute;
    top:46px
}

.phone-more{
    font-size: 14px;
    color: #333;
    position: absolute;
    top:50px;
    right:25px;
}

.more-arrow{
    width: 8px;
    height: 16px;
    position: absolute;
    top:1px;
    right: -10px;
    /* transform: translateY(-50%) rotate(90deg); */
    background-image: url('../images/more_arrow.png');
}

.phone-show-container{
    position: absolute;
    top:93px;
}
.phone-show-item{
    width:244px;
    height: 338px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
    background-color: #fff;
    position: relative;
}

/* 这部分样张中的底色都是白色 如何通过样张得到maggin 尤其是白色背景的图片到文字的部分*/

.phone-name{
    font-size: 13px;
    color: #555757;
    margin-top: 10px;
    margin-bottom: 7px;
}

.phone-date{
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.phone-price{
    font-size: 15px;
    color: #e02b41;
}

.phone-price span{
    font-size: 12px;
}

.phone-show-item .hot{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f59646;
    display: flex;
    align-items: center;
    justify-content:center;
    position: absolute;
    right: 15px;
    top: 15px;
}

.phone-show-item .hot p{
    color: #fff;
    font-size: 13px;
}

.phone-show-item .sale{
    background-color: #f0415f;
}

.help{
    height: 181px;
    background-color: #fafafc;
    display: flex;  
    justify-content:center;
}

.help-container{
    display: flex;
    flex-direction: row;
}

.help-item{
    width: 244px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    font-size: 13px;
    color: #333;
}
.help-item-tittle{
    margin-top: 33px;
    margin-bottom: 15px;
    font-weight: bold;
}

.help-item a{
    color: #666;
    font-size: 12px;
    margin-bottom: 10px;
}
.tel-number{
    font-size: 24px;
    color: #1fa7ea;
    margin-top: 15px;
    margin-bottom: 20px;
}

.online-24h{
    width:160px;
    height:34px;
    border-radius: 3px;
    display:flex;
    justify-content:center;
    align-items: center;
    background-color: #1fa7ea;
    color: #fff;
}

footer{
    height:114px;
    display: flex;
    justify-content:center;
    align-items: center;
    background-color: #fafafc;
    color: #666;
    font-size: 12px;
}

footer img{
    margin-left: 15px;
}